<template>
  <van-nav-bar style="text-align: center"
               :title="我的"
               left-text="返回"
               left-arrow
               @click-left="onClickLeft" />
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: "标题"
    }
  },
  methods: {
    onClickLeft() {
      // 返回一步
      this.$router.back();
    }
  }
};
</script>

<style>
</style>